package com.zb.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zb.entity.ZjWorkFinishOrder;

import java.util.List;

/**
 * <p>
 * 工单结单表 服务类
 * </p>
 *
 * @author WEN
 * @since 2023-11-30
 */
public interface ZjWorkFinishOrderService extends IService<ZjWorkFinishOrder> {

    /**
     * 根据工单ID获取申请结单信息
     * @param workIds 工单ID
     * @return
     */
    List<ZjWorkFinishOrder> getApplyEndOrderByWorkIds(List<Long> workIds);


    /**
     * 根据工单ID获取结单待审核的结单信息
     *
     * @param workId 工单ID
     * @return
     */
    ZjWorkFinishOrder getWaitCheckStatementOrder(Long workId);

    /**
     * 根据工单ID&服务商ID获取结单信息
     * @param workId 工单ID
     * @param networkId 服务商ID
     * @return
     */
    ZjWorkFinishOrder getEndOrderByWorkIdAndNetworkId(Long workId, Long networkId);
}
